package com.sh.data.engine.application.model.dto.integration;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema
public class FlinkDataSyncTaskPageResponse {

    /**
     * 主键
     */
    @Schema(title = "任务id", description = "空为新增 不空为保存")
    private Long id;

    @Deprecated
    @Schema(description = "jobId 查看日志用")
    private Integer xxlJobLogId;

    @Schema(description = "recordId 查看日志用")
    private String recordId;
    /**
     * 任务名称
     */
    @Schema(description = "任务名称")
    private String taskName;

    /**
     * 来源数据源类型
     */
    @Schema(description = "来源")
    private String source;

    /**
     * 目标数据源类型
     */
    @Schema(description = "目标")
    private String target;

    @Schema(description = "发布状态")
    private int taskStatus;
    @Schema(description = "运行状态")
    private int taskRunStatus;

    @Schema(description = "调度周期")
    private int scheduleUnit;

    @Schema(description = "开始时间")
    private Date startTime;

    @Schema(description = "结束时间")
    private Date endTime;

    @Schema(description = "创建人")
    private String creator;
}
